﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Team6_Algorithms.AidingClasses
{
    /// <summary>
    /// Class to support K-means.
    /// Holds data about a mean.
    /// Made by Alexander Streng
    /// </summary>
    [Serializable()]
    public class Mean
    {

        public  String Name { get; set; }
        public  int Blue { get; set; }
        public  int Green { get; set; } //make the default getters nd Setters
        public  int Red { get; set; }
        public  double distToPix { get; set; }
        public  int gemRed { get; set; }
        public  int gemGreen { get; set; }
        public  int gemBlue { get; set; }
        public  int numPixelinClust { get; set; }

        /// <summary>
        /// Constructor for the mean
        /// </summary>
        /// <param name="name">Name of the mean</param>
        /// <param name="red">the int red  ( 0 - 255 )</param>
        /// <param name="green">the int green  ( 0 - 255 )</param>
        /// <param name="blue">the int blue  ( 0 - 255 )</param>
        public  Mean(String name, int red, int green, int blue)
        {
            Name = name;
            Blue = blue;
            Green = green;
            Red = red;
        }
    }
}
